<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags"  prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<h4>错误信息</h4>

<a href="language?request_locale=zh_CN"><s:text name="chinese"/></a>
<a href="language?request_locale=en_US"><s:text name="english"/></a>

<s:form action="login" >
<s:text name="username" /><input type="text" name="username"/><br/>
<s:text name="password"/><input type="password" name="password"><br>
<s:submit key="submit" name="btn1"></s:submit>
</s:form>
<h2>单文件上传</h2>
<s:form action="uploadAction" method="post" enctype="multipart/form-data">
<s:textfield name="username" label="用户账户"/>
<s:file name="upload" label="上传文件"/>
<s:submit value="上传"></s:submit>
</s:form>
<%-- <h2>多文件上传</h2>
<s:form action="uploadManyAction" method="post" enctype="multipart/form-data">
<s:textfield name="username" label="用户账户"/>
<s:file name="upload" label="上传文件1"/>
<s:file name="upload" label="上传文件2"/>
<s:file name="upload" label="上传文件3"/>
<s:submit value="上传"></s:submit>
</s:form> --%>
</body>
</html>